package cn.telling.tianlianproduct.otherservice.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import cn.telling.tianlianproduct.otherservice.dao.SupplyMapper;
import cn.telling.tianlianproduct.otherservice.service.ISupplyService;
import cn.telling.tianlianproduct.otherservice.vo.SupplyVo;

@Service("supplyServiceTianlian")
public class SupplyServiceImpl implements ISupplyService {
    
    @Autowired
    @Qualifier("supplyMapper")
    private SupplyMapper supplyMapper;

    @Override
    public SupplyVo findSupplyByUserId(String userId) {
        return supplyMapper.findSupplyByUserId(userId);
    }

    @Override
    public SupplyVo findSupplyBySupplyId(String supplyId) {
        return supplyMapper.findSupplyBySupplyId(supplyId);
    }

}
